Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Functions
Handling Events in Controls /


IdleControls

NEW WITH THE APPEARANCE MANAGER

Performs idle event processing.

pascal void IdleControls (WindowPtr inWindow);
inWindow
On input, a pointer to the window that contains controls which support idle events.
DISCUSSION
Your application should call the IdleControls function to give idle time to any controls that want the kControlMsgIdle message. IdleControls calls the control with an idle event so the control can do idle-time processing. You should call IdleControls at least once in your event loop. See "Performing Idle Processing" for more details on how a control definition function should handle idle processing.

SEE ALSO
"Appearance Manager Gestalt Selector Constants".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998